package cn.mesmile.design.factory.abstractfactory.ali;

import cn.mesmile.design.factory.abstractfactory.OrderFactory;
import cn.mesmile.design.factory.abstractfactory.PayFactoryAbstract;
import cn.mesmile.design.factory.abstractfactory.RefundFactoryAbstract;

/**
 * @author zb
 * @date 2020/11/15 12:55
 * @Description:
 */
public class AliOrderFactory implements OrderFactory {

    @Override
    public PayFactoryAbstract createPay() {
        return new AliPay();
    }

    @Override
    public RefundFactoryAbstract createRefund() {
        return new AliRefund();
    }

}
